.class Lcom/brixd/niceapp/activity/WebViewActivity$6;
.super Ljava/lang/Object;
.source "WebViewActivity.java"

# interfaces
.implements Landroid/view/View$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/brixd/niceapp/activity/WebViewActivity;->initWidgetsActions()V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/brixd/niceapp/activity/WebViewActivity;


# direct methods
.method constructor <init>(Lcom/brixd/niceapp/activity/WebViewActivity;)V
    .registers 2
    .param p1, "this$0"    # Lcom/brixd/niceapp/activity/WebViewActivity;

    .prologue
    .line 223
    iput-object p1, p0, Lcom/brixd/niceapp/activity/WebViewActivity$6;->this$0:Lcom/brixd/niceapp/activity/WebViewActivity;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .registers 8
    .param p1, "v"    # Landroid/view/View;

    .prologue
    const/4 v1, 0x0

    .line 227
    iget-object v0, p0, Lcom/brixd/niceapp/activity/WebViewActivity$6;->this$0:Lcom/brixd/niceapp/activity/WebViewActivity;

    # getter for: Lcom/brixd/niceapp/activity/WebViewActivity;->mUrl:Ljava/lang/String;
    invoke-static {v0}, Lcom/brixd/niceapp/activity/WebViewActivity;->access$600(Lcom/brixd/niceapp/activity/WebViewActivity;)Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_2e

    iget-object v0, p0, Lcom/brixd/niceapp/activity/WebViewActivity$6;->this$0:Lcom/brixd/niceapp/activity/WebViewActivity;

    # getter for: Lcom/brixd/niceapp/activity/WebViewActivity;->mData:Ljava/lang/String;
    invoke-static {v0}, Lcom/brixd/niceapp/activity/WebViewActivity;->access$700(Lcom/brixd/niceapp/activity/WebViewActivity;)Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_2e

    .line 228
    iget-object v0, p0, Lcom/brixd/niceapp/activity/WebViewActivity$6;->this$0:Lcom/brixd/niceapp/activity/WebViewActivity;

    # getter for: Lcom/brixd/niceapp/activity/WebViewActivity;->mWebView:Landroid/webkit/WebView;
    invoke-static {v0}, Lcom/brixd/niceapp/activity/WebViewActivity;->access$500(Lcom/brixd/niceapp/activity/WebViewActivity;)Landroid/webkit/WebView;

    move-result-object v0

    iget-object v2, p0, Lcom/brixd/niceapp/activity/WebViewActivity$6;->this$0:Lcom/brixd/niceapp/activity/WebViewActivity;

    # getter for: Lcom/brixd/niceapp/activity/WebViewActivity;->mData:Ljava/lang/String;
    invoke-static {v2}, Lcom/brixd/niceapp/activity/WebViewActivity;->access$700(Lcom/brixd/niceapp/activity/WebViewActivity;)Ljava/lang/String;

    move-result-object v2

    const-string v3, "text/html"

    const-string v4, "UTF-8"

    move-object v5, v1

    invoke-virtual/range {v0 .. v5}, Landroid/webkit/WebView;->loadDataWithBaseURL(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V

    .line 233
    :goto_2d
    return-void

    .line 230
    :cond_2e
    iget-object v0, p0, Lcom/brixd/niceapp/activity/WebViewActivity$6;->this$0:Lcom/brixd/niceapp/activity/WebViewActivity;

    # getter for: Lcom/brixd/niceapp/activity/WebViewActivity;->mWebView:Landroid/webkit/WebView;
    invoke-static {v0}, Lcom/brixd/niceapp/activity/WebViewActivity;->access$500(Lcom/brixd/niceapp/activity/WebViewActivity;)Landroid/webkit/WebView;

    move-result-object v0

    invoke-virtual {v0}, Landroid/webkit/WebView;->reload()V

    goto :goto_2d
.end method
